cmake_minimum_required(VERSION 3.0.0)
project(rtsp_reader VERSION 0.1.0)

include(CTest)
enable_testing()

add_subdirectory(VideoCapture)
add_subdirectory(3rdparty)
add_subdirectory(src)

include_directories(${VIDEO_CAPTURE_DIRS})
add_executable(rtsp_reader src/main.cpp)

target_link_libraries(rtsp_reader ${VIDEO_CAPTURE_LIBS})
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
